package com.jixiang.tracedata.model.traveller;

import com.jixiang.tracedata.model.common.Hdr;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

import java.io.Serializable;
import java.util.List;

/**
 * @author quanbiao
 * @date 2018-08-31
 */
@XStreamAlias("Baggage")
public class Baggage implements Serializable {

    private static final long serialVersionUID = 3437648441887484129L;

    @XStreamAsAttribute()
    private String Type;

    @XStreamAsAttribute()
    private String CarryOnCount;

    @XStreamAsAttribute()
    private String CheckInCount;

    @XStreamAsAttribute()
    private String CheckInWeight;

    @XStreamImplicit(itemFieldName="Piece")
    private List<Piece> PieceList;

    private Hdr Hdr;

    private String DB_Piece;

    public String getDB_Piece() {
        return DB_Piece;
    }

    public void setDB_Piece(String DB_Piece) {
        this.DB_Piece = DB_Piece;
    }

    public com.jixiang.tracedata.model.common.Hdr getHdr() {
        return Hdr;
    }

    public void setHdr(com.jixiang.tracedata.model.common.Hdr hdr) {
        Hdr = hdr;
    }

    public String getType() {
        return Type;
    }

    public void setType(String type) {
        Type = type;
    }

    public String getCarryOnCount() {
        return CarryOnCount;
    }

    public void setCarryOnCount(String carryOnCount) {
        CarryOnCount = carryOnCount;
    }

    public String getCheckInCount() {
        return CheckInCount;
    }

    public void setCheckInCount(String checkInCount) {
        CheckInCount = checkInCount;
    }

    public String getCheckInWeight() {
        return CheckInWeight;
    }

    public void setCheckInWeight(String checkInWeight) {
        CheckInWeight = checkInWeight;
    }

    public List<Piece> getPieceList() {
        return PieceList;
    }

    public void setPieceList(List<Piece> pieceList) {
        PieceList = pieceList;
    }
}
